powered by
Convert data from long format to wide format
long2wide(x, ...)
A long-format data frame.
Optional parameters.
A wide-format data frame.
# NOT RUN { long2wide(melt(example, id.vars=0)) # }
Run the code above in your browser using DataLab